package modal;

public class ProductModal {
	private int productId;
	private String name;
	private String photoUrl;
	private int ownerId;
	private String description;
	private String price; 	
	private int status;
	// status =1 means sold 
	public ProductModal(int productId, String name, String price, int ownerId, String description, String photoUrl, int status){
		super();
		this.productId=productId;
		this.name=name;
		this.photoUrl=photoUrl;
		this.ownerId=ownerId;
		this.description=description;
		this.price=price;
		this.status=status;
	}
	
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public ProductModal(){}

	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhotoUrl() {
		return photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public int getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(int ownerId) {
		this.ownerId = ownerId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

}

 